// Load this with Graphviv (http://www.graphviz.org) to produce the the flowchart image.
digraph G {
	ratio=compress;
	size=16;	// 20 give a width of ~1900 pixels
	
	// minable
	Cinnabar [shape=box];
	Cobaltite [shape=box];
	Stibnite [shape=box];
	Melanerite [shape=box];
	Chalcanthite [shape=box];
	Bauxite [shape=box];
	Alunite [shape=box];
	"Alum Slate" [shape=box];
	"Rock Salt" [shape=box];
	Talc [shape=box];
	Olivine [shape=box];
	Dolomite [shape=box];
	"Frost Crystal" [shape=box];
	Fireheart [shape=box];
	"Storm Crystal" [shape=box];
	"Ward Crystal" [shape=box];
	"Flare Crystal" [shape=box];
	Saltpeter [shape=box];
	Truesilver [shape=box];
	Levitite [shape=box];
	
	// bars
	"Crystal Glass" [shape=house];
	Mithril [shape=house];
	Levisium [shape=house];	
	Gold [shape=house];
	Platinum [shape=house];
	Tin [shape=house];
	Silver [shape=house];
	Copper [shape=house];
	Iron [shape=house];
	Glacium [shape=house];
	Incendium [shape=house];
	Tempestium [shape=house];
	"Ward Iron" [shape=house];
	Elementium [shape=house];
	"Blazing Incendium" [shape=house];
	"Bright Silver" [shape=house];
	"Royal Bronze" [shape=house];
	"Verdant Bronze" [shape=house];
	"Green Copper" [shape=house];
	Orihalcum [shape=house];
	"Tempered Crystal" [shape=house];
	"Night Crystal" [shape=house];
	"Blood Crystal" [shape=house];
	"Void Crystal" [shape=house];	
	
	// Plant
	"Oil Nut" [shape=box, style=dotted];
	"Tunnel Tube" [shape=box, style=dotted];
	
	// Structal
	Oil1 [width=.37, height=.25, fontsize=10, style=dotted];
	Oil2 [width=.37, height=.25, fontsize=10, style=dotted];
	Alum1 [width=.37, height=.25, fontsize=10, style=dotted];
	Alum2 [width=.37, height=.25, fontsize=10, style=dotted];
	Alum3 [width=.37, height=.25, fontsize=10, style=dotted];
	"Emen Aren1" [width=.37, height=.25, fontsize=10, style=dotted];
	"Emen Aren2" [width=.37, height=.25, fontsize=10, style=dotted];
	"Ikal Nabid1" [width=.37, height=.25, fontsize=10, style=dotted];
	"Ikal Nabid2" [width=.37, height=.25, fontsize=10, style=dotted];
	"Ikal Nabid3" [width=.37, height=.25, fontsize=10, style=dotted];
	Vitriol1 [width=.37, height=.25, fontsize=10, style=dotted];
	Vitriol2 [width=.37, height=.25, fontsize=10, style=dotted];

	Potash -> Saltpeter;
	
	Fuel  -> Quicksilver;
	Cinnabar -> Quicksilver;
	
	Oil -> "Midnight Elixir";
	Cobaltite -> "Midnight Elixir";
	
	Fuel -> Antimony;
	Stibnite -> Antimony;
	
	Fuel -> "Green Vitriol";
	Melanerite -> "Green Vitriol";
	
	Fuel -> Vitriol1;
	"Green Vitriol" -> Vitriol1;
	
	Fuel -> Vitriol2;
	Alum -> Vitriol2;
	
	Vitriol1 -> Vitriol [weight=5];
	Vitriol2 -> Vitriol [weight=5];
	
	Chalcanthite -> "Blue Vitriol";
	
	Potash -> Alum1;
	"Alum Slate" -> Alum1;
	
	Potash -> Alum2;
	Bauxite -> Alum2;
	
	Potash -> Alum3;
	Alunite -> Alum3;
	
	Alum1 -> Alum [weight=5];
	Alum2 -> Alum [weight=5];
	Alum3 -> Alum [weight=5];
	
	"Green Vitriol" -> "Emen Aren1";
	Saltpeter -> "Emen Aren1";
	
	"Blue Vitriol" -> "Emen Aren2";
	Saltpeter -> "Emen Aren2";
	Alum -> "Emen Aren2";
	
	"Emen Aren1" -> "Emen Aren" [weight=5];
	"Emen Aren2" -> "Emen Aren" [weight=5];
	
	"Rock Salt" -> Salt;

	Vitriol -> "Nabid Ubal" [weight=10];
	Salt -> "Nabid Ubal";
	
	"Nabid Ubal" -> "Relon Aren";
	"Emen Aren" -> "Relon Aren";
	
	Talc -> "Ikal Nabid1";
	Olivine -> "Ikal Nabid2";	
	Dolomite -> "Ikal Nabid3";
	
	"Ikal Nabid1" -> "Ikal Nabid" [weight=5];
	"Ikal Nabid2" -> "Ikal Nabid" [weight=5];
	"Ikal Nabid3" -> "Ikal Nabid" [weight=5];

	"Crystal Glass" -> "Tempered Crystal";
	"Ikal Nabid" -> "Tempered Crystal";
	
	"Crystal Glass" -> "Night Crystal";
	"Midnight Elixir" -> "Night Crystal";
	
	"Crystal Glass" -> "Blood Crystal";
	"Ikal Nabid" -> "Blood Crystal";
	"Quicksilver" -> "Blood Crystal";
	
	"Crystal Glass" -> "Void Crystal";
	"Ikal Nabid" -> "Void Crystal";
	"Quicksilver" -> "Void Crystal";
	"Midnight Elixir" -> "Void Crystal";
	Antimony -> "Void Crystal";
	
	"Relon Aren" -> "Frost Elixir";
	"Frost Crystal"-> "Frost Elixir" [weight=15];
	
	"Relon Aren" -> "Fire Elixir";
	"Fireheart" -> "Fire Elixir" [weight=15];
	
	"Relon Aren" -> "Storm Elixir";
	"Storm Crystal" -> "Storm Elixir" [weight=15];
	
	"Relon Aren" -> "Ward Elixir";
	"Ward Crystal" -> "Ward Elixir" [weight=15];
	
	"Relon Aren" -> "Pure Elixir";
	"Frost Crystal" -> "Pure Elixir" [weight=15];
	Fireheart -> "Pure Elixir" [weight=15];
	"Storm Crystal" -> "Pure Elixir" [weight=15];
	"Ward Crystal" -> "Pure Elixir" [weight=15];
	
	"Relon Aren" -> "Blaze Elixir";
	Fireheart -> "Blaze Elixir" [weight=15];
	"Flare Crystal" -> "Blaze Elixir" [weight=15];
	
	"Frost Elixir" -> Glacium [weight=15];
	Iron -> Glacium;
	
	"Fire Elixir" -> Incendium [weight=15];
	Iron -> Incendium;
	
	"Storm Elixir" -> Tempestium [weight=15];
	Iron -> Tempestium;
	
	"Ward Elixir" -> "Ward Iron" [weight=15];
	Iron -> "Ward Iron";
	
	"Pure Elixir" -> Elementium [weight=15];
	Iron -> Elementium;
	
	"Blaze Elixir" -> "Blazing Incendium" [weight=15];
	Iron -> "Blazing Incendium";

	"Oil Nut" -> Oil1 [constraint=false, weight=3];
	
	"Tunnel Tube" -> Oil2 [constraint=false, weight=3];
	
	Oil1 -> Oil [weight=5];
	Oil2 -> Oil [weight=5];
	
	Truesilver -> Mithril [weight=20];
	"Emen Aren" -> Mithril [weight=10];
	
	Levitite -> Levisium [weight=20];
	"Emen Aren" -> Levisium [weight=10];
	
	Mithril -> "Bright Silver" [weight=20];
	Silver -> "Bright Silver" [weight=10];
	
	Mithril -> "Royal Bronze" [weight=20];
	Tin -> "Royal Bronze" [weight=10];
	Copper -> "Royal Bronze" [weight=10];
	
	Levisium -> "Verdant Bronze" [weight=20];
	Tin -> "Verdant Bronze" [weight=10];
	Copper -> "Verdant Bronze" [weight=10];
	
	Levisium -> "Green Copper" [weight=20];
	Copper -> "Green Copper" [weight=10];
	
	Mithril -> Orihalcum [weight=20];
	Gold -> Orihalcum [weight=10];
	Platinum -> Orihalcum [weight=10];	
};